﻿// --------------------------------------------------------------------------------------------------------------------- 
// <copyright file="UserOperator.cs" company="">
//   
// </copyright>
// <summary>
//   Defines the UserOperator type.
// </summary>
// ---------------------------------------------------------------------------------------------------------------------

using System;
using Qi;

namespace Ornament.MemberShip.Permissions
{
    /// <summary>
    /// </summary>
    [Flags]
    public enum UserOperator
    {
        None = 0,
        /// <summary>
        /// </summary>
        Read = 1,

        /// <summary>
        /// </summary>
        Modify = 2 | 1,

        /// <summary>
        /// </summary>
        Lock = 4 | 1 | 2,
        /// <summary>
        /// 
        /// </summary>
        Approve = 8 | 2 | 1,
        /// <summary>
        /// 
        /// </summary>
        SetPassword = 16 | 1 | 2 | 4 | 8
    }
    
}